package com.accounting.client.remote.enumeration;

import java.util.List;

import corelib.client.CollectionUtil;

public class Costs {
	
	public final static int InternalVechicleCost = 100;
    public final static int InternalLabourCost   = 200;
    public final static int ITCost 				 = 300;
    public final static int InternalCost 		 = 999;
    
    public final static List<Integer> AllCosts = CollectionUtil.newArrayList(
    		ITCost,
    		InternalCost, 
    		InternalVechicleCost, 
    		InternalLabourCost
    );
    
    public static String GetName(int type) {
        switch (type) {
            case InternalVechicleCost : return "Internal Vechicle Cost";
            case InternalLabourCost   : return "Internal Labour Cost";
            case ITCost   			  : return "IT Cost";
            default                   : return "Internal Cost";
        }
    }

    public static String GetCName(int type) {
        switch (type) {
            case InternalVechicleCost   : return "车辆损耗费用";
            case InternalLabourCost     : return "内部人力费用";
            case ITCost   			    : return "网站服务器费用";
            default                     : return "其他费用";
        }
    }
    
}
